﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using CommonLibrary.DataModel.WorkFlow;

namespace OAclient.Models
{
    public class WorkFlowModel
    {
        #region index
        /// <summary>
        /// 当前用户id
        /// </summary>
        public string user_id { set; get; }

        /// <summary>
        /// 工作流
        /// </summary>
        public DataTable dt_wf { set; get; }

        /// <summary>
        /// 正在运行的工作流
        /// </summary>
        public DataTable dt_wfworking { set; get; }

        /// <summary>
        /// 已经完成的工作流
        /// </summary>
        public DataTable dt_wfworked { set; get; }

        #endregion



        #region WFStart

        /// <summary>
        /// 发起工作流的时候存入表单定义
        /// </summary>
        public string formdefi { set; get; }

        /// <summary>
        /// 发起工作流所用的表单编码
        /// </summary>
        public string form_id { set; get; }

        /// <summary>
        /// 发起工作流所用的模板编码
        /// </summary>
        public string wftemplate_id { set; get; }

        /// <summary>
        /// 下一步处理人的信息
        /// </summary>
        public WfClrxxInfo nextClr { set; get; }

        /// <summary>
        /// 人员选择树的定义
        /// </summary>
        public string treedefi { set; get; }

        #endregion
    }
}
